package com.cldz.utils;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 9:15 2018/12/11
 * @ Description：
 * @ Modified By：
 */
public class MathUtils {

    public static Integer getAreaIDPrefix(Integer areaID){

        String s = areaID + "";
        if(areaID == 0 ){
            return 0;
        }
        s = s.replaceAll("0*$", "");
        return Integer.parseInt(s);
    }
}
